Optimal. Leaf size=42 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {2821}
\begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2821
Rubi steps
\begin {align*} \int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{6 f (c-c \sin (e+f x))^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(110\) vs. \(2(42)=84\).
time = 0.60, size = 110, normalized size = 2.62 \begin {gather*} \frac {a^2 (-5+3 \cos (2 (e+f x))) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {a (1+\sin (e+f x))}}{6 c^3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^3 \sqrt {c-c \sin (e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(128\) vs.
\(2(36)=72\).
time = 17.67, size = 129, normalized size = 3.07
method | result | size |
default | \(-\frac {\left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \left (\cos ^{2}\left (f x +e \right )-4\right ) \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}}}{3 f \left (\cos ^{3}\left (f x +e \right )-\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-2 \cos \left (f x +e \right ) \sin \left (f x +e \right )-2 \cos \left (f x +e \right )+4 \sin \left (f x +e \right )+4\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {7}{2}}}\) | \(129\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 117 vs.
\(2 (39) = 78\).
time = 0.37, size = 117, normalized size = 2.79 \begin {gather*} \frac {{\left (3 \, a^{2} \cos \left (f x + e\right )^{2} - 4 \, a^{2}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (3 \, c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right ) - {\left (c^{4} f \cos \left (f x + e\right )^{3} - 4 \, c^{4} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 138 vs.
\(2 (39) = 78\).
time = 0.50, size = 138, normalized size = 3.29 \begin {gather*} -\frac {{\left (3 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 3 \, a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + a^{2} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{6 \, c^{4} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{5/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________